package org.tabularium.text.html;

import de.l3s.boilerpipe.extractors.ArticleExtractor;

/** 
 * Implements the ArticleExtractor from Boilerpipe library, "tuned towards news articles".
 * 
 * @author fabiogasparetti
 *
 */
public class BoilerPipeNewsContentExtractor extends ContentExtractor {

	@Override
	public String extractText(String url, String htmltext) throws Exception {
		
		return ArticleExtractor.getInstance().getText(htmltext);
	}

}
